package com.coderman.common.model.student;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * MyBatis Generator工具自动生成2023/01/11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(name = "`c_obtain_employment`")
public class ObtainEmp {
    @Id
    @Column(name = "`obtainEmpId`")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty("")
    private Integer obtainempid;

    @Column(name = "`studentId`")
    @ApiModelProperty("")
    private Integer studentid;

    @Column(name = "`obtainEmpTime`")
    @ApiModelProperty("")
    private String obtainemptime;

    @Column(name = "`obtainEmpPlace`")
    @ApiModelProperty("")
    private String obtainempplace;

    @Column(name = "`corporateName`")
    @ApiModelProperty("")
    private String corporatename;

    @Column(name = "`salaryDuringProbation`")
    @ApiModelProperty("")
    private Double salaryduringprobation;

    @Column(name = "`formalSalary`")
    @ApiModelProperty("")
    private Double formalsalary;

    @Column(name = "`post`")
    @ApiModelProperty("")
    private String post;

    /**
     * 1：代表正常就业
            2：代表未就业
            3：代表就业专业不对口
            4：代表自主就业
     */
    @Column(name = "`obtainEmpStatus`")
    @ApiModelProperty("1：代表正常就业            2：代表未就业            3：代表就业专业不对口            4：代表自主就业")
    private Integer obtainempstatus;

    /**
     * 0：代表是
            1：代表否
     */
    @Column(name = "`isProvideOffer`")
    @ApiModelProperty("0：代表是            1：代表否")
    private Integer isprovideoffer;

    @Column(name = "`remarks`")
    @ApiModelProperty("")
    private String remarks;
    @TableField(exist = false)
    private transient  String studentname;
}
